<form action="<?php echo $this->url(array("action"=>"edit")) ?>" method="post" id="insert-form" enctype="multipart/form-data">
   <?php $v = $this->video?>
                <div class="form-left">
                    <label for="VLib">Thư Viện Video: <span class="required">*</span></label>
                </div>
                <div class="form-right">
                    <select name="VLib">
                    <option value="null">Không chọn</option>
                    <?php foreach ($this->LibVideo as $lib){?>
                    <option value="<?php echo $lib["ID"]?>"><?php echo $lib["LIB_NAME"] ?></option>
                    <?php }?>
                    </select>
                </div>
                <div class="form-left">
                    <label for="VName">Tên Video: <span class="required">*</span></label>
                </div>
                <div class="form-right">
                    <input type="text" name="VName" class="txt" id="VName" value="<?php echo $v->VIDEO_NAME?>" />
                </div>
                
                <div class="form-left">
                    <label for="Link">Video: <span class="required">*</span></label>
                </div>
                <div class="form-right">
                    <input type="text" name="Link" class="txt" id="Link" value="<?php echo $v->VIDEO?>" />
                    <?php echo $this->errLink?>
                </div>
                <div class="form-left">
                    <label for="VImg">Hình Ảnh: <span class="required">*</span></label>
                </div>
                <div class="form-right">
                    <input type="file" name="VImg" class="txt" id="VImg" />
                    <?php echo $this->errImg?>
                </div>
                <div class="form-left">
                    <label for="textImg">Link Ảnh: <span class="required">*</span></label>
                </div>
                <div class="form-right">
                    <input type="text" name="textImg" class="txt" id="textImg" value="<?php echo $v->IMG?>" />
                </div>
                <div class="form-left">
                    <label for="Stt">Trạng Thái: <span class="required">*</span></label>
                </div>
                <div class="form-right">
                    <select name="Stt" id="theme">
                        <?php if($v->STATUS == 1){?>
                        <option value="1" selected="selected">Hiện</option>
                        <option value="0">Ẩn</option>
                        <?php }else{?>
                        <option value="1">Hiện</option>
                        <option value="0" selected="selected">Ẩn</option>
                        <?php }?>
                    </select>
                </div>
               
                <div class="clear" style="text-align:right; width:372px">
                    <input type="submit" value="Save" style="float:right" />
                </div>
 			</form>
 			<script type="text/javascript" src="<?php echo $this->baseUrl()?>/public/js/tablesort.js"></script>
    		<script type="text/javascript" src="<?php echo $this->baseUrl()?>/public/js/jquery.nyromodal-1.6.2.pack.js"></script>
    		<script type="text/javascript" charset="utf-8" src="<?php echo $this->baseUrl()?>/public/js/jquery.uniform.min.js" ></script>